﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<CaseAssignmentHistory>>" %>
<% using (Html.BeginForm())
   {%>
   <table class="atbl">
   <% foreach (var o in Model)
   {%>
   <tr>
    <td><%= o.JudgeName%></td>
    <td>
    <% if (o.JudgeType == 1)
    {%>  Preşedinte <% }%>
    <% if (o.JudgeType == 2) 
    {%>  Raportor  <%}%>
    
    </td>
    <td><%= o.From.ToShortDateString() %></td>
    <td>
    <% if (o.To.Year!=1) %>
    <%= o.To.ToShortDateString() %></td>
    <td><%= o.Reason%></td>
</tr>

   <% }%>
   </table>
<% }%>